Version

CompareOverride Method

Performs the actual compare of the two non-null instances.
Syntax
'Declaration
 
Protected MustOverride Function CompareOverride( _
   ByVal x As T, _
   ByVal y As T _
) As Integer
protected abstract int CompareOverride( 
   T x,
   T y
)

Parameters

x
The first object to compare
y
The second object to compare

Return Value

0 if the objects are equal. -1 if the first is less than the second. Otherwise 1 to indicate the second is less than the first.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also